import { Component } from 'react';
import WithFetch from '../WithFetch';
const Banner = WithFetch ("http://iwenwiki.com/api/blueberrypai/getIndexBanner.php")(props => {
  return (
    <div>
      <p>
        { props.data.banner[0].title }
      </p>
    </div>
  )
})

export default Banner;